@import "color";
@import "item-detail-icon";

//带购物车icon的按钮样式
.shopping-cart-box {
    position: fixed;
    right: .1rem;
    bottom: .1rem;
    z-index: 99;

    .shopping-cart {
        display: inline-block;
        width: .58rem;
        height: .58rem;
        margin: 0;
        border-radius: 99%;
        border: 1px solid #fff;
        line-height: .375rem;

        &::before {
            position: absolute;
            top: 45%;
            right: 50%;
            transform: translate(49%,-50%);
            font-size: .26rem;
            line-height: .35rem;
        }
    }

    .tip-num {
        left: 55%;
        top: 15%;
    }
}

